<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>src/execute.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/src.html'>src</a>/execute.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/src.html'>src</a>/execute.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 src/execute.h'  /> */</em>
<hr />
<h2 class='header'><a href='../J/execute.h.html' title='Multiple included from 18 places.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/** \file  execute.h</em>
<a id='L2' name='L2'></a>   2 <em class='comment'> *  \brief Header: execution routines</em>
<a id='L3' name='L3'></a>   3 <em class='comment'> */</em>
<a id='L4' name='L4'></a>   4 
<a id='L5' name='L5'></a>   5 <em class='sharp'>#ifndef</em> <a href='../S/src--execute.h.html#L6' title='Defined at 6 in src/execute.h.'>MC__EXECUTE_H</a>
<a id='L6' name='L6'></a>   6 <em class='sharp'>#define</em> <a href='../S/src--execute.h.html#L5' title='Referred from 5 in src/execute.h.'>MC__EXECUTE_H</a>
<a id='L7' name='L7'></a>   7 
<a id='L8' name='L8'></a>   8 <em class='sharp'>#include</em> "<a href='lib--utilunix.h.html'>lib/utilunix.h</a>"
<a id='L9' name='L9'></a>   9 <em class='sharp'>#include</em> "<a href='lib--vfs--vfs.h.html'>lib/vfs/vfs.h</a>"
<a id='L10' name='L10'></a>  10 
<a id='L11' name='L11'></a>  11 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L12' name='L12'></a>  12 
<a id='L13' name='L13'></a>  13 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L14' name='L14'></a>  14 
<a id='L15' name='L15'></a>  15 <em class='comment'>/* If true, after executing a command, wait for a keystroke */</em>
<a id='L16' name='L16'></a>  16 <strong class='reserved'>enum</strong>
<a id='L17' name='L17'></a>  17 <em class='brace'>{</em>
<a id='L18' name='L18'></a>  18     pause_never,
<a id='L19' name='L19'></a>  19     <a href='../R/pause_on_dumb_terminals.html' title='Multiple referred from 2 places.'>pause_on_dumb_terminals</a>,
<a id='L20' name='L20'></a>  20     <a href='../S/src--execute.c.html#L329' title='Referred from 329 in src/execute.c.'>pause_always</a>
<a id='L21' name='L21'></a>  21 <em class='brace'>}</em>;
<a id='L22' name='L22'></a>  22 
<a id='L23' name='L23'></a>  23 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L24' name='L24'></a>  24 
<a id='L25' name='L25'></a>  25 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L26' name='L26'></a>  26 
<a id='L27' name='L27'></a>  27 <strong class='reserved'>extern</strong> <strong class='reserved'>int</strong> <a href='../Y/pause_after_run.html' title='Multiple used in 6 places.'>pause_after_run</a>;
<a id='L28' name='L28'></a>  28 
<a id='L29' name='L29'></a>  29 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L30' name='L30'></a>  30 
<a id='L31' name='L31'></a>  31 <em class='comment'>/* Execute functions that use the shell to execute */</em>
<a id='L32' name='L32'></a>  32 <strong class='reserved'>void</strong> <a href='../S/src--execute.c.html#L421' title='Defined at 421 in src/execute.c.'>shell_execute</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/command.html' title='Multiple used in 270 places.'>command</a>, <strong class='reserved'>int</strong> <a href='../Y/flags.html' title='Multiple used in 420 places.'>flags</a>);
<a id='L33' name='L33'></a>  33 
<a id='L34' name='L34'></a>  34 <em class='comment'>/* Handle toggling panels by Ctrl-O */</em>
<a id='L35' name='L35'></a>  35 <strong class='reserved'>void</strong> <a href='../S/src--execute.c.html#L449' title='Defined at 449 in src/execute.c.'>toggle_subshell</a> (<strong class='reserved'>void</strong>);
<a id='L36' name='L36'></a>  36 
<a id='L37' name='L37'></a>  37 <em class='comment'>/* Handle toggling panels by Ctrl-Z */</em>
<a id='L38' name='L38'></a>  38 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/src--execute.c.html#L580' title='Defined at 580 in src/execute.c.'>execute_suspend</a> (<strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/event_group_name.html' title='Multiple used in 69 places.'>event_group_name</a>, <strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> * <a href='../Y/event_name.html' title='Multiple used in 65 places.'>event_name</a>,
<a id='L39' name='L39'></a>  39                           <a href='../Y/gpointer.html' title='Multiple used in 86 places.'>gpointer</a> <a href='../Y/init_data.html' title='Multiple used in 48 places.'>init_data</a>, <a href='../Y/gpointer.html' title='Multiple used in 86 places.'>gpointer</a> <a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>);
<a id='L40' name='L40'></a>  40 
<a id='L41' name='L41'></a>  41 <em class='comment'>/* Execute command on a filename that can be on VFS */</em>
<a id='L42' name='L42'></a>  42 <strong class='reserved'>void</strong> <a href='../S/src--execute.c.html#L606' title='Defined at 606 in src/execute.c.'>execute_with_vfs_arg</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/command.html' title='Multiple used in 270 places.'>command</a>, <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/filename_vpath.html' title='Multiple used in 256 places.'>filename_vpath</a>);
<a id='L43' name='L43'></a>  43 <strong class='reserved'>void</strong> <a href='../S/src--execute.c.html#L633' title='Defined at 633 in src/execute.c.'>execute_external_editor_or_viewer</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/command.html' title='Multiple used in 270 places.'>command</a>, <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/filename_vpath.html' title='Multiple used in 256 places.'>filename_vpath</a>,
<a id='L44' name='L44'></a>  44                                         <strong class='reserved'>long</strong> <a href='../Y/start_line.html' title='Multiple used in 64 places.'>start_line</a>);
<a id='L45' name='L45'></a>  45 
<a id='L46' name='L46'></a>  46 <strong class='reserved'>void</strong> <a href='../S/src--execute.c.html#L410' title='Defined at 410 in src/execute.c.'>post_exec</a> (<strong class='reserved'>void</strong>);
<a id='L47' name='L47'></a>  47 <strong class='reserved'>void</strong> <a href='../S/src--execute.c.html#L401' title='Defined at 401 in src/execute.c.'>pre_exec</a> (<strong class='reserved'>void</strong>);
<a id='L48' name='L48'></a>  48 
<a id='L49' name='L49'></a>  49 <em class='comment'>/*** inline functions ****************************************************************************/</em>
<a id='L50' name='L50'></a>  50 
<a id='L51' name='L51'></a>  51 <em class='sharp'>#endif</em> <em class='comment'>/* MC__EXECUTE_H */</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+51 src/execute.h'  /> */</em>
</body>
</html>
